import Vue from 'vue'
import App from './App.vue'

import ElementUI from 'element-ui'//注入ElementUI
import 'element-ui/lib/theme-chalk/index.css'//注入ElementUI样式
Vue.use(ElementUI)//ElementUI使用

//引入图标
import './assets/icon/iconfont.css'

import router from './router'
import store from './store'


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus = this
  }
}).$mount('#app')
